import 'package:json_annotation/json_annotation.dart';

part 'bt_recharge.g.dart';

@JsonSerializable()
class BtRecharge {
  final String goodsCode;
  final String goodsName;
  final String orderNo;
  final double payAmount;
  final double paidAmount;
  final String paidCurrency;

  const BtRecharge({
    required this.goodsCode,
    required this.goodsName,
    required this.orderNo,
    required this.payAmount,
    required this.paidAmount,
    required this.paidCurrency,
  });

  factory BtRecharge.fromJson(Map<String, dynamic> json) => _$BtRechargeFromJson(json);

  Map<String, dynamic> toJson() => _$BtRechargeToJson(this);
}
